//
//  ViewProtocol.h
//  ProjectForCustomer
//
//  Created by 钟游 on 2019/8/25.
//  Copyright © 2019年 钟游. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@protocol ViewModelProtocol;
@protocol ViewProtocol <NSObject>
@optional

- (instancetype)initWithViewModel:(id<ViewModelProtocol>)viewModel;
/**
 * 初始化UI控件
 */
-(void)zy_setupViews;
/**
 * 初始化RAC
 */
- (void)zy_bindViewModel;
@end

NS_ASSUME_NONNULL_END
